from src.actions.base_action import Advance,Sleep,ShiftLeft,ShiftRight,LeftOblique,RightOblique,BackUp,Stop
from src.utils import Controller

class Shift():
    def __init__(self):
        self.force = True
        self.update_controller_speed = False
        self.action_seq = [
            Advance(speed=32),
            Sleep(1),
            ShiftLeft(speed=50),
            Sleep(2),
            BackUp(speed=32),
            Sleep(1),
            ShiftRight(speed=50),
            Sleep(2),
            LeftOblique(speed=50),
            Sleep(2),
            RightOblique(speed=50),
            Sleep(2),
            Stop()
        ]
        
        
ctrl = Controller()        
ctrl.execute(Shift())